package sh.ds.el.entity.base;

import javax.persistence.Column;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.MappedSuperclass;

import sh.ds.el.enums.CommonEnums.VALIDITY;

@MappedSuperclass
@SuppressWarnings("serial")
public abstract class ValidityEntity extends BaseEntity {

	@Column(name = "VALIDITY")
	@Enumerated(EnumType.STRING)
	private VALIDITY validity;

	public VALIDITY getValidity() {
		return validity;
	}

	public void setValidity(VALIDITY validity) {
		this.validity = validity;
	}

}
